package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class TableScope {

    private int beginIndex;
    private int endIndex;
    private boolean global;
    private boolean local;

    public TableScope(int beginIndex,
                      int endIndex,
                      boolean global,
                      boolean local) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.global = global;
        this.local = local;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isGlobal() {
        return global;
    }

    public boolean isLocal() {
        return local;
    }

}
